package cn.edu.hy.demo02;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo02Test {
	public static void main(String[] args) {
	
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext02.xml");
		AccountService accountService = (AccountService) context.getBean("accountService");
		accountService.save();
	}
}
